﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DebuggerStepThrough, DataContract(Name="RateDetailInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity")]
    public class RateDetailInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private string CarryModeField;
        [OptionalField]
        private string ChargeInvocationField;
        [OptionalField]
        private string ChargeModeDField;
        [OptionalField]
        private string ChargeModeField;
        [OptionalField]
        private decimal ChargePerUnitField;
        [OptionalField]
        private string ChargeUnitDField;
        [OptionalField]
        private string ChargeUnitField;
        [OptionalField]
        private string CostingUnitField;
        [OptionalField]
        private string CostInvocationField;
        [OptionalField]
        private decimal CostPerUnitField;
        [OptionalField]
        private decimal CostRateField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private DateTime CreatedDateField;
        [OptionalField]
        private decimal CsDiscountField;
        [OptionalField]
        private int CucFrom01Field;
        [OptionalField]
        private int CucFrom02Field;
        [OptionalField]
        private int CucFrom03Field;
        [OptionalField]
        private int CucFrom04Field;
        [OptionalField]
        private int CucFrom05Field;
        [OptionalField]
        private int CucFrom06Field;
        [OptionalField]
        private int CucFrom07Field;
        [OptionalField]
        private int CucFrom08Field;
        [OptionalField]
        private int CucFrom09Field;
        [OptionalField]
        private int CucFrom10Field;
        [OptionalField]
        private decimal CucRate01Field;
        [OptionalField]
        private decimal CucRate02Field;
        [OptionalField]
        private decimal CucRate03Field;
        [OptionalField]
        private decimal CucRate04Field;
        [OptionalField]
        private decimal CucRate05Field;
        [OptionalField]
        private decimal CucRate06Field;
        [OptionalField]
        private decimal CucRate07Field;
        [OptionalField]
        private decimal CucRate08Field;
        [OptionalField]
        private decimal CucRate09Field;
        [OptionalField]
        private decimal CucRate10Field;
        [OptionalField]
        private int CucTo01Field;
        [OptionalField]
        private int CucTo02Field;
        [OptionalField]
        private int CucTo03Field;
        [OptionalField]
        private int CucTo04Field;
        [OptionalField]
        private int CucTo05Field;
        [OptionalField]
        private int CucTo06Field;
        [OptionalField]
        private int CucTo07Field;
        [OptionalField]
        private int CucTo08Field;
        [OptionalField]
        private int CucTo09Field;
        [OptionalField]
        private int CucTo10Field;
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string DistMatchedModeField;
        [OptionalField]
        private decimal EaDiscountField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private decimal FixedRateField;
        [OptionalField]
        private string GeneralLedgerIDField;
        [OptionalField]
        private decimal IpDiscountField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private int LineIDField;
        [OptionalField]
        private decimal MaxChargeField;
        [OptionalField]
        private decimal MinChargeField;
        [OptionalField]
        private decimal PlDiscountField;
        [OptionalField]
        private string RateIDField;
        [OptionalField]
        private string RateTypeDField;
        [OptionalField]
        private string RateTypeField;
        [OptionalField]
        private int RowIDField;
        [OptionalField]
        private int StcFrom01Field;
        [OptionalField]
        private int StcFrom02Field;
        [OptionalField]
        private int StcFrom03Field;
        [OptionalField]
        private int StcFrom04Field;
        [OptionalField]
        private int StcFrom05Field;
        [OptionalField]
        private int StcFrom06Field;
        [OptionalField]
        private int StcFrom07Field;
        [OptionalField]
        private int StcFrom08Field;
        [OptionalField]
        private int StcFrom09Field;
        [OptionalField]
        private int StcFrom10Field;
        [OptionalField]
        private decimal StcRate01Field;
        [OptionalField]
        private decimal StcRate02Field;
        [OptionalField]
        private decimal StcRate03Field;
        [OptionalField]
        private decimal StcRate04Field;
        [OptionalField]
        private decimal StcRate05Field;
        [OptionalField]
        private decimal StcRate06Field;
        [OptionalField]
        private decimal StcRate07Field;
        [OptionalField]
        private decimal StcRate08Field;
        [OptionalField]
        private decimal StcRate09Field;
        [OptionalField]
        private decimal StcRate10Field;
        [OptionalField]
        private int StcTo01Field;
        [OptionalField]
        private int StcTo02Field;
        [OptionalField]
        private int StcTo03Field;
        [OptionalField]
        private int StcTo04Field;
        [OptionalField]
        private int StcTo05Field;
        [OptionalField]
        private int StcTo06Field;
        [OptionalField]
        private int StcTo07Field;
        [OptionalField]
        private int StcTo08Field;
        [OptionalField]
        private int StcTo09Field;
        [OptionalField]
        private int StcTo10Field;
        [OptionalField]
        private string TaxGroupIDField;
        [OptionalField]
        private byte[] TsField;
        [OptionalField]
        private string Udf10Field;
        [OptionalField]
        private string Udf1Field;
        [OptionalField]
        private string Udf2Field;
        [OptionalField]
        private string Udf3Field;
        [OptionalField]
        private string Udf4Field;
        [OptionalField]
        private string Udf5Field;
        [OptionalField]
        private string Udf6Field;
        [OptionalField]
        private string Udf7Field;
        [OptionalField]
        private string Udf8Field;
        [OptionalField]
        private string Udf9Field;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private DateTime UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public string CarryMode
        {
            get
            {
                return this.CarryModeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarryModeField, value))
                {
                    this.CarryModeField = value;
                    this.RaisePropertyChanged("CarryMode");
                }
            }
        }

        [DataMember]
        public string ChargeInvocation
        {
            get
            {
                return this.ChargeInvocationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeInvocationField, value))
                {
                    this.ChargeInvocationField = value;
                    this.RaisePropertyChanged("ChargeInvocation");
                }
            }
        }

        [DataMember]
        public string ChargeMode
        {
            get
            {
                return this.ChargeModeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeModeField, value))
                {
                    this.ChargeModeField = value;
                    this.RaisePropertyChanged("ChargeMode");
                }
            }
        }

        [DataMember]
        public string ChargeModeD
        {
            get
            {
                return this.ChargeModeDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeModeDField, value))
                {
                    this.ChargeModeDField = value;
                    this.RaisePropertyChanged("ChargeModeD");
                }
            }
        }

        [DataMember]
        public decimal ChargePerUnit
        {
            get
            {
                return this.ChargePerUnitField;
            }
            set
            {
                if (!this.ChargePerUnitField.Equals(value))
                {
                    this.ChargePerUnitField = value;
                    this.RaisePropertyChanged("ChargePerUnit");
                }
            }
        }

        [DataMember]
        public string ChargeUnit
        {
            get
            {
                return this.ChargeUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeUnitField, value))
                {
                    this.ChargeUnitField = value;
                    this.RaisePropertyChanged("ChargeUnit");
                }
            }
        }

        [DataMember]
        public string ChargeUnitD
        {
            get
            {
                return this.ChargeUnitDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeUnitDField, value))
                {
                    this.ChargeUnitDField = value;
                    this.RaisePropertyChanged("ChargeUnitD");
                }
            }
        }

        [DataMember]
        public string CostingUnit
        {
            get
            {
                return this.CostingUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostingUnitField, value))
                {
                    this.CostingUnitField = value;
                    this.RaisePropertyChanged("CostingUnit");
                }
            }
        }

        [DataMember]
        public string CostInvocation
        {
            get
            {
                return this.CostInvocationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostInvocationField, value))
                {
                    this.CostInvocationField = value;
                    this.RaisePropertyChanged("CostInvocation");
                }
            }
        }

        [DataMember]
        public decimal CostPerUnit
        {
            get
            {
                return this.CostPerUnitField;
            }
            set
            {
                if (!this.CostPerUnitField.Equals(value))
                {
                    this.CostPerUnitField = value;
                    this.RaisePropertyChanged("CostPerUnit");
                }
            }
        }

        [DataMember]
        public decimal CostRate
        {
            get
            {
                return this.CostRateField;
            }
            set
            {
                if (!this.CostRateField.Equals(value))
                {
                    this.CostRateField = value;
                    this.RaisePropertyChanged("CostRate");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    this.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public DateTime CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!this.CreatedDateField.Equals(value))
                {
                    this.CreatedDateField = value;
                    this.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public decimal CsDiscount
        {
            get
            {
                return this.CsDiscountField;
            }
            set
            {
                if (!this.CsDiscountField.Equals(value))
                {
                    this.CsDiscountField = value;
                    this.RaisePropertyChanged("CsDiscount");
                }
            }
        }

        [DataMember]
        public int CucFrom01
        {
            get
            {
                return this.CucFrom01Field;
            }
            set
            {
                if (!this.CucFrom01Field.Equals(value))
                {
                    this.CucFrom01Field = value;
                    this.RaisePropertyChanged("CucFrom01");
                }
            }
        }

        [DataMember]
        public int CucFrom02
        {
            get
            {
                return this.CucFrom02Field;
            }
            set
            {
                if (!this.CucFrom02Field.Equals(value))
                {
                    this.CucFrom02Field = value;
                    this.RaisePropertyChanged("CucFrom02");
                }
            }
        }

        [DataMember]
        public int CucFrom03
        {
            get
            {
                return this.CucFrom03Field;
            }
            set
            {
                if (!this.CucFrom03Field.Equals(value))
                {
                    this.CucFrom03Field = value;
                    this.RaisePropertyChanged("CucFrom03");
                }
            }
        }

        [DataMember]
        public int CucFrom04
        {
            get
            {
                return this.CucFrom04Field;
            }
            set
            {
                if (!this.CucFrom04Field.Equals(value))
                {
                    this.CucFrom04Field = value;
                    this.RaisePropertyChanged("CucFrom04");
                }
            }
        }

        [DataMember]
        public int CucFrom05
        {
            get
            {
                return this.CucFrom05Field;
            }
            set
            {
                if (!this.CucFrom05Field.Equals(value))
                {
                    this.CucFrom05Field = value;
                    this.RaisePropertyChanged("CucFrom05");
                }
            }
        }

        [DataMember]
        public int CucFrom06
        {
            get
            {
                return this.CucFrom06Field;
            }
            set
            {
                if (!this.CucFrom06Field.Equals(value))
                {
                    this.CucFrom06Field = value;
                    this.RaisePropertyChanged("CucFrom06");
                }
            }
        }

        [DataMember]
        public int CucFrom07
        {
            get
            {
                return this.CucFrom07Field;
            }
            set
            {
                if (!this.CucFrom07Field.Equals(value))
                {
                    this.CucFrom07Field = value;
                    this.RaisePropertyChanged("CucFrom07");
                }
            }
        }

        [DataMember]
        public int CucFrom08
        {
            get
            {
                return this.CucFrom08Field;
            }
            set
            {
                if (!this.CucFrom08Field.Equals(value))
                {
                    this.CucFrom08Field = value;
                    this.RaisePropertyChanged("CucFrom08");
                }
            }
        }

        [DataMember]
        public int CucFrom09
        {
            get
            {
                return this.CucFrom09Field;
            }
            set
            {
                if (!this.CucFrom09Field.Equals(value))
                {
                    this.CucFrom09Field = value;
                    this.RaisePropertyChanged("CucFrom09");
                }
            }
        }

        [DataMember]
        public int CucFrom10
        {
            get
            {
                return this.CucFrom10Field;
            }
            set
            {
                if (!this.CucFrom10Field.Equals(value))
                {
                    this.CucFrom10Field = value;
                    this.RaisePropertyChanged("CucFrom10");
                }
            }
        }

        [DataMember]
        public decimal CucRate01
        {
            get
            {
                return this.CucRate01Field;
            }
            set
            {
                if (!this.CucRate01Field.Equals(value))
                {
                    this.CucRate01Field = value;
                    this.RaisePropertyChanged("CucRate01");
                }
            }
        }

        [DataMember]
        public decimal CucRate02
        {
            get
            {
                return this.CucRate02Field;
            }
            set
            {
                if (!this.CucRate02Field.Equals(value))
                {
                    this.CucRate02Field = value;
                    this.RaisePropertyChanged("CucRate02");
                }
            }
        }

        [DataMember]
        public decimal CucRate03
        {
            get
            {
                return this.CucRate03Field;
            }
            set
            {
                if (!this.CucRate03Field.Equals(value))
                {
                    this.CucRate03Field = value;
                    this.RaisePropertyChanged("CucRate03");
                }
            }
        }

        [DataMember]
        public decimal CucRate04
        {
            get
            {
                return this.CucRate04Field;
            }
            set
            {
                if (!this.CucRate04Field.Equals(value))
                {
                    this.CucRate04Field = value;
                    this.RaisePropertyChanged("CucRate04");
                }
            }
        }

        [DataMember]
        public decimal CucRate05
        {
            get
            {
                return this.CucRate05Field;
            }
            set
            {
                if (!this.CucRate05Field.Equals(value))
                {
                    this.CucRate05Field = value;
                    this.RaisePropertyChanged("CucRate05");
                }
            }
        }

        [DataMember]
        public decimal CucRate06
        {
            get
            {
                return this.CucRate06Field;
            }
            set
            {
                if (!this.CucRate06Field.Equals(value))
                {
                    this.CucRate06Field = value;
                    this.RaisePropertyChanged("CucRate06");
                }
            }
        }

        [DataMember]
        public decimal CucRate07
        {
            get
            {
                return this.CucRate07Field;
            }
            set
            {
                if (!this.CucRate07Field.Equals(value))
                {
                    this.CucRate07Field = value;
                    this.RaisePropertyChanged("CucRate07");
                }
            }
        }

        [DataMember]
        public decimal CucRate08
        {
            get
            {
                return this.CucRate08Field;
            }
            set
            {
                if (!this.CucRate08Field.Equals(value))
                {
                    this.CucRate08Field = value;
                    this.RaisePropertyChanged("CucRate08");
                }
            }
        }

        [DataMember]
        public decimal CucRate09
        {
            get
            {
                return this.CucRate09Field;
            }
            set
            {
                if (!this.CucRate09Field.Equals(value))
                {
                    this.CucRate09Field = value;
                    this.RaisePropertyChanged("CucRate09");
                }
            }
        }

        [DataMember]
        public decimal CucRate10
        {
            get
            {
                return this.CucRate10Field;
            }
            set
            {
                if (!this.CucRate10Field.Equals(value))
                {
                    this.CucRate10Field = value;
                    this.RaisePropertyChanged("CucRate10");
                }
            }
        }

        [DataMember]
        public int CucTo01
        {
            get
            {
                return this.CucTo01Field;
            }
            set
            {
                if (!this.CucTo01Field.Equals(value))
                {
                    this.CucTo01Field = value;
                    this.RaisePropertyChanged("CucTo01");
                }
            }
        }

        [DataMember]
        public int CucTo02
        {
            get
            {
                return this.CucTo02Field;
            }
            set
            {
                if (!this.CucTo02Field.Equals(value))
                {
                    this.CucTo02Field = value;
                    this.RaisePropertyChanged("CucTo02");
                }
            }
        }

        [DataMember]
        public int CucTo03
        {
            get
            {
                return this.CucTo03Field;
            }
            set
            {
                if (!this.CucTo03Field.Equals(value))
                {
                    this.CucTo03Field = value;
                    this.RaisePropertyChanged("CucTo03");
                }
            }
        }

        [DataMember]
        public int CucTo04
        {
            get
            {
                return this.CucTo04Field;
            }
            set
            {
                if (!this.CucTo04Field.Equals(value))
                {
                    this.CucTo04Field = value;
                    this.RaisePropertyChanged("CucTo04");
                }
            }
        }

        [DataMember]
        public int CucTo05
        {
            get
            {
                return this.CucTo05Field;
            }
            set
            {
                if (!this.CucTo05Field.Equals(value))
                {
                    this.CucTo05Field = value;
                    this.RaisePropertyChanged("CucTo05");
                }
            }
        }

        [DataMember]
        public int CucTo06
        {
            get
            {
                return this.CucTo06Field;
            }
            set
            {
                if (!this.CucTo06Field.Equals(value))
                {
                    this.CucTo06Field = value;
                    this.RaisePropertyChanged("CucTo06");
                }
            }
        }

        [DataMember]
        public int CucTo07
        {
            get
            {
                return this.CucTo07Field;
            }
            set
            {
                if (!this.CucTo07Field.Equals(value))
                {
                    this.CucTo07Field = value;
                    this.RaisePropertyChanged("CucTo07");
                }
            }
        }

        [DataMember]
        public int CucTo08
        {
            get
            {
                return this.CucTo08Field;
            }
            set
            {
                if (!this.CucTo08Field.Equals(value))
                {
                    this.CucTo08Field = value;
                    this.RaisePropertyChanged("CucTo08");
                }
            }
        }

        [DataMember]
        public int CucTo09
        {
            get
            {
                return this.CucTo09Field;
            }
            set
            {
                if (!this.CucTo09Field.Equals(value))
                {
                    this.CucTo09Field = value;
                    this.RaisePropertyChanged("CucTo09");
                }
            }
        }

        [DataMember]
        public int CucTo10
        {
            get
            {
                return this.CucTo10Field;
            }
            set
            {
                if (!this.CucTo10Field.Equals(value))
                {
                    this.CucTo10Field = value;
                    this.RaisePropertyChanged("CucTo10");
                }
            }
        }

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    this.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string DistMatchedMode
        {
            get
            {
                return this.DistMatchedModeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DistMatchedModeField, value))
                {
                    this.DistMatchedModeField = value;
                    this.RaisePropertyChanged("DistMatchedMode");
                }
            }
        }

        [DataMember]
        public decimal EaDiscount
        {
            get
            {
                return this.EaDiscountField;
            }
            set
            {
                if (!this.EaDiscountField.Equals(value))
                {
                    this.EaDiscountField = value;
                    this.RaisePropertyChanged("EaDiscount");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public decimal FixedRate
        {
            get
            {
                return this.FixedRateField;
            }
            set
            {
                if (!this.FixedRateField.Equals(value))
                {
                    this.FixedRateField = value;
                    this.RaisePropertyChanged("FixedRate");
                }
            }
        }

        [DataMember]
        public string GeneralLedgerID
        {
            get
            {
                return this.GeneralLedgerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.GeneralLedgerIDField, value))
                {
                    this.GeneralLedgerIDField = value;
                    this.RaisePropertyChanged("GeneralLedgerID");
                }
            }
        }

        [DataMember]
        public decimal IpDiscount
        {
            get
            {
                return this.IpDiscountField;
            }
            set
            {
                if (!this.IpDiscountField.Equals(value))
                {
                    this.IpDiscountField = value;
                    this.RaisePropertyChanged("IpDiscount");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    this.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public int LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!this.LineIDField.Equals(value))
                {
                    this.LineIDField = value;
                    this.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public decimal MaxCharge
        {
            get
            {
                return this.MaxChargeField;
            }
            set
            {
                if (!this.MaxChargeField.Equals(value))
                {
                    this.MaxChargeField = value;
                    this.RaisePropertyChanged("MaxCharge");
                }
            }
        }

        [DataMember]
        public decimal MinCharge
        {
            get
            {
                return this.MinChargeField;
            }
            set
            {
                if (!this.MinChargeField.Equals(value))
                {
                    this.MinChargeField = value;
                    this.RaisePropertyChanged("MinCharge");
                }
            }
        }

        [DataMember]
        public decimal PlDiscount
        {
            get
            {
                return this.PlDiscountField;
            }
            set
            {
                if (!this.PlDiscountField.Equals(value))
                {
                    this.PlDiscountField = value;
                    this.RaisePropertyChanged("PlDiscount");
                }
            }
        }

        [DataMember]
        public string RateID
        {
            get
            {
                return this.RateIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RateIDField, value))
                {
                    this.RateIDField = value;
                    this.RaisePropertyChanged("RateID");
                }
            }
        }

        [DataMember]
        public string RateType
        {
            get
            {
                return this.RateTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RateTypeField, value))
                {
                    this.RateTypeField = value;
                    this.RaisePropertyChanged("RateType");
                }
            }
        }

        [DataMember]
        public string RateTypeD
        {
            get
            {
                return this.RateTypeDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RateTypeDField, value))
                {
                    this.RateTypeDField = value;
                    this.RaisePropertyChanged("RateTypeD");
                }
            }
        }

        [DataMember]
        public int RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!this.RowIDField.Equals(value))
                {
                    this.RowIDField = value;
                    this.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public int StcFrom01
        {
            get
            {
                return this.StcFrom01Field;
            }
            set
            {
                if (!this.StcFrom01Field.Equals(value))
                {
                    this.StcFrom01Field = value;
                    this.RaisePropertyChanged("StcFrom01");
                }
            }
        }

        [DataMember]
        public int StcFrom02
        {
            get
            {
                return this.StcFrom02Field;
            }
            set
            {
                if (!this.StcFrom02Field.Equals(value))
                {
                    this.StcFrom02Field = value;
                    this.RaisePropertyChanged("StcFrom02");
                }
            }
        }

        [DataMember]
        public int StcFrom03
        {
            get
            {
                return this.StcFrom03Field;
            }
            set
            {
                if (!this.StcFrom03Field.Equals(value))
                {
                    this.StcFrom03Field = value;
                    this.RaisePropertyChanged("StcFrom03");
                }
            }
        }

        [DataMember]
        public int StcFrom04
        {
            get
            {
                return this.StcFrom04Field;
            }
            set
            {
                if (!this.StcFrom04Field.Equals(value))
                {
                    this.StcFrom04Field = value;
                    this.RaisePropertyChanged("StcFrom04");
                }
            }
        }

        [DataMember]
        public int StcFrom05
        {
            get
            {
                return this.StcFrom05Field;
            }
            set
            {
                if (!this.StcFrom05Field.Equals(value))
                {
                    this.StcFrom05Field = value;
                    this.RaisePropertyChanged("StcFrom05");
                }
            }
        }

        [DataMember]
        public int StcFrom06
        {
            get
            {
                return this.StcFrom06Field;
            }
            set
            {
                if (!this.StcFrom06Field.Equals(value))
                {
                    this.StcFrom06Field = value;
                    this.RaisePropertyChanged("StcFrom06");
                }
            }
        }

        [DataMember]
        public int StcFrom07
        {
            get
            {
                return this.StcFrom07Field;
            }
            set
            {
                if (!this.StcFrom07Field.Equals(value))
                {
                    this.StcFrom07Field = value;
                    this.RaisePropertyChanged("StcFrom07");
                }
            }
        }

        [DataMember]
        public int StcFrom08
        {
            get
            {
                return this.StcFrom08Field;
            }
            set
            {
                if (!this.StcFrom08Field.Equals(value))
                {
                    this.StcFrom08Field = value;
                    this.RaisePropertyChanged("StcFrom08");
                }
            }
        }

        [DataMember]
        public int StcFrom09
        {
            get
            {
                return this.StcFrom09Field;
            }
            set
            {
                if (!this.StcFrom09Field.Equals(value))
                {
                    this.StcFrom09Field = value;
                    this.RaisePropertyChanged("StcFrom09");
                }
            }
        }

        [DataMember]
        public int StcFrom10
        {
            get
            {
                return this.StcFrom10Field;
            }
            set
            {
                if (!this.StcFrom10Field.Equals(value))
                {
                    this.StcFrom10Field = value;
                    this.RaisePropertyChanged("StcFrom10");
                }
            }
        }

        [DataMember]
        public decimal StcRate01
        {
            get
            {
                return this.StcRate01Field;
            }
            set
            {
                if (!this.StcRate01Field.Equals(value))
                {
                    this.StcRate01Field = value;
                    this.RaisePropertyChanged("StcRate01");
                }
            }
        }

        [DataMember]
        public decimal StcRate02
        {
            get
            {
                return this.StcRate02Field;
            }
            set
            {
                if (!this.StcRate02Field.Equals(value))
                {
                    this.StcRate02Field = value;
                    this.RaisePropertyChanged("StcRate02");
                }
            }
        }

        [DataMember]
        public decimal StcRate03
        {
            get
            {
                return this.StcRate03Field;
            }
            set
            {
                if (!this.StcRate03Field.Equals(value))
                {
                    this.StcRate03Field = value;
                    this.RaisePropertyChanged("StcRate03");
                }
            }
        }

        [DataMember]
        public decimal StcRate04
        {
            get
            {
                return this.StcRate04Field;
            }
            set
            {
                if (!this.StcRate04Field.Equals(value))
                {
                    this.StcRate04Field = value;
                    this.RaisePropertyChanged("StcRate04");
                }
            }
        }

        [DataMember]
        public decimal StcRate05
        {
            get
            {
                return this.StcRate05Field;
            }
            set
            {
                if (!this.StcRate05Field.Equals(value))
                {
                    this.StcRate05Field = value;
                    this.RaisePropertyChanged("StcRate05");
                }
            }
        }

        [DataMember]
        public decimal StcRate06
        {
            get
            {
                return this.StcRate06Field;
            }
            set
            {
                if (!this.StcRate06Field.Equals(value))
                {
                    this.StcRate06Field = value;
                    this.RaisePropertyChanged("StcRate06");
                }
            }
        }

        [DataMember]
        public decimal StcRate07
        {
            get
            {
                return this.StcRate07Field;
            }
            set
            {
                if (!this.StcRate07Field.Equals(value))
                {
                    this.StcRate07Field = value;
                    this.RaisePropertyChanged("StcRate07");
                }
            }
        }

        [DataMember]
        public decimal StcRate08
        {
            get
            {
                return this.StcRate08Field;
            }
            set
            {
                if (!this.StcRate08Field.Equals(value))
                {
                    this.StcRate08Field = value;
                    this.RaisePropertyChanged("StcRate08");
                }
            }
        }

        [DataMember]
        public decimal StcRate09
        {
            get
            {
                return this.StcRate09Field;
            }
            set
            {
                if (!this.StcRate09Field.Equals(value))
                {
                    this.StcRate09Field = value;
                    this.RaisePropertyChanged("StcRate09");
                }
            }
        }

        [DataMember]
        public decimal StcRate10
        {
            get
            {
                return this.StcRate10Field;
            }
            set
            {
                if (!this.StcRate10Field.Equals(value))
                {
                    this.StcRate10Field = value;
                    this.RaisePropertyChanged("StcRate10");
                }
            }
        }

        [DataMember]
        public int StcTo01
        {
            get
            {
                return this.StcTo01Field;
            }
            set
            {
                if (!this.StcTo01Field.Equals(value))
                {
                    this.StcTo01Field = value;
                    this.RaisePropertyChanged("StcTo01");
                }
            }
        }

        [DataMember]
        public int StcTo02
        {
            get
            {
                return this.StcTo02Field;
            }
            set
            {
                if (!this.StcTo02Field.Equals(value))
                {
                    this.StcTo02Field = value;
                    this.RaisePropertyChanged("StcTo02");
                }
            }
        }

        [DataMember]
        public int StcTo03
        {
            get
            {
                return this.StcTo03Field;
            }
            set
            {
                if (!this.StcTo03Field.Equals(value))
                {
                    this.StcTo03Field = value;
                    this.RaisePropertyChanged("StcTo03");
                }
            }
        }

        [DataMember]
        public int StcTo04
        {
            get
            {
                return this.StcTo04Field;
            }
            set
            {
                if (!this.StcTo04Field.Equals(value))
                {
                    this.StcTo04Field = value;
                    this.RaisePropertyChanged("StcTo04");
                }
            }
        }

        [DataMember]
        public int StcTo05
        {
            get
            {
                return this.StcTo05Field;
            }
            set
            {
                if (!this.StcTo05Field.Equals(value))
                {
                    this.StcTo05Field = value;
                    this.RaisePropertyChanged("StcTo05");
                }
            }
        }

        [DataMember]
        public int StcTo06
        {
            get
            {
                return this.StcTo06Field;
            }
            set
            {
                if (!this.StcTo06Field.Equals(value))
                {
                    this.StcTo06Field = value;
                    this.RaisePropertyChanged("StcTo06");
                }
            }
        }

        [DataMember]
        public int StcTo07
        {
            get
            {
                return this.StcTo07Field;
            }
            set
            {
                if (!this.StcTo07Field.Equals(value))
                {
                    this.StcTo07Field = value;
                    this.RaisePropertyChanged("StcTo07");
                }
            }
        }

        [DataMember]
        public int StcTo08
        {
            get
            {
                return this.StcTo08Field;
            }
            set
            {
                if (!this.StcTo08Field.Equals(value))
                {
                    this.StcTo08Field = value;
                    this.RaisePropertyChanged("StcTo08");
                }
            }
        }

        [DataMember]
        public int StcTo09
        {
            get
            {
                return this.StcTo09Field;
            }
            set
            {
                if (!this.StcTo09Field.Equals(value))
                {
                    this.StcTo09Field = value;
                    this.RaisePropertyChanged("StcTo09");
                }
            }
        }

        [DataMember]
        public int StcTo10
        {
            get
            {
                return this.StcTo10Field;
            }
            set
            {
                if (!this.StcTo10Field.Equals(value))
                {
                    this.StcTo10Field = value;
                    this.RaisePropertyChanged("StcTo10");
                }
            }
        }

        [DataMember]
        public string TaxGroupID
        {
            get
            {
                return this.TaxGroupIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TaxGroupIDField, value))
                {
                    this.TaxGroupIDField = value;
                    this.RaisePropertyChanged("TaxGroupID");
                }
            }
        }

        [DataMember]
        public byte[] Ts
        {
            get
            {
                return this.TsField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TsField, value))
                {
                    this.TsField = value;
                    this.RaisePropertyChanged("Ts");
                }
            }
        }

        [DataMember]
        public string Udf1
        {
            get
            {
                return this.Udf1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf1Field, value))
                {
                    this.Udf1Field = value;
                    this.RaisePropertyChanged("Udf1");
                }
            }
        }

        [DataMember]
        public string Udf10
        {
            get
            {
                return this.Udf10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf10Field, value))
                {
                    this.Udf10Field = value;
                    this.RaisePropertyChanged("Udf10");
                }
            }
        }

        [DataMember]
        public string Udf2
        {
            get
            {
                return this.Udf2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf2Field, value))
                {
                    this.Udf2Field = value;
                    this.RaisePropertyChanged("Udf2");
                }
            }
        }

        [DataMember]
        public string Udf3
        {
            get
            {
                return this.Udf3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf3Field, value))
                {
                    this.Udf3Field = value;
                    this.RaisePropertyChanged("Udf3");
                }
            }
        }

        [DataMember]
        public string Udf4
        {
            get
            {
                return this.Udf4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf4Field, value))
                {
                    this.Udf4Field = value;
                    this.RaisePropertyChanged("Udf4");
                }
            }
        }

        [DataMember]
        public string Udf5
        {
            get
            {
                return this.Udf5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf5Field, value))
                {
                    this.Udf5Field = value;
                    this.RaisePropertyChanged("Udf5");
                }
            }
        }

        [DataMember]
        public string Udf6
        {
            get
            {
                return this.Udf6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf6Field, value))
                {
                    this.Udf6Field = value;
                    this.RaisePropertyChanged("Udf6");
                }
            }
        }

        [DataMember]
        public string Udf7
        {
            get
            {
                return this.Udf7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf7Field, value))
                {
                    this.Udf7Field = value;
                    this.RaisePropertyChanged("Udf7");
                }
            }
        }

        [DataMember]
        public string Udf8
        {
            get
            {
                return this.Udf8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf8Field, value))
                {
                    this.Udf8Field = value;
                    this.RaisePropertyChanged("Udf8");
                }
            }
        }

        [DataMember]
        public string Udf9
        {
            get
            {
                return this.Udf9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf9Field, value))
                {
                    this.Udf9Field = value;
                    this.RaisePropertyChanged("Udf9");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    this.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public DateTime UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!this.UpdatedDateField.Equals(value))
                {
                    this.UpdatedDateField = value;
                    this.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    this.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

